|
PHY MAKE TRIGGER BOX
Make a new trigger box.
PHY MAKE TRIGGER BOX ID, x#, y#, y#, size x#, size y#, size z#, angle x#, angle y#, angle z#
ID
Integer
identification number of the trigger, these numbers are unique to triggers
x#
Float
position of the trigger box on the X axis
y#
Float
position of the trigger box on the Y axis
y#
Float
position of the trigger box on the Z axis
size x#
Float
size of the trigger box on the X axis
size y#
Float
size of the trigger box on the Y axis
size z#
Float
size of the trigger box on the Z axis
angle x#
Float
angle of the trigger box on the X axis
angle y#
Float
angle of the trigger box on the Y axis
angle z#
Float
angle of the trigger box on the Z axis
Create a new trigger box to be placed into the simulation. Trigger objects are used as an ideal method for triggering certain events. For example, you may have a situation where you want a door to be opened automatically as the player walks nearby. By placing a trigger in front of the door you can use code to check when an object enters it and proceed to open the door automatically. Note that trigger objects are invisible and only seen by the simulation.
No example code is provided for this command
|